package com.aaa.service.impl;

import com.aaa.dao.RoleDao;
import com.aaa.dao.impl.RoleDaoImpl;
import com.aaa.entity.Role;
import com.aaa.service.RoleService;

import java.util.List;

public class RoleServiceImpl implements RoleService {
    private RoleDao roleDao = new RoleDaoImpl();

    @Override
    public List<Role> getAllRole() {
        return roleDao.getAllRole();
    }
}
